package org.twitter.connection.store;

public class TwitterTokenKey {
	private String tokenKey;
	private String tokenSecretKey;
	
	public TwitterTokenKey(String tokenKey, String tokenSecretKey) {
		super();
		this.tokenKey = tokenKey;
		this.tokenSecretKey = tokenSecretKey;
	}

	public String getTokenKey() {
		return tokenKey;
	}

	public void setTokenKey(String tokenKey) {
		this.tokenKey = tokenKey;
	}

	public String getTokenSecretKey() {
		return tokenSecretKey;
	}

	public void setTokenSecretKey(String tokenSecretKey) {
		this.tokenSecretKey = tokenSecretKey;
	}

	public boolean validateToken() {
		if (null != tokenKey && null != tokenSecretKey && !"".equals(tokenKey)
				&& !"".equals(tokenSecretKey))
			return true;
		return false;
	}

	@Override
	public String toString() {
		return "TwitterTokenKey [tokenKey=" + tokenKey + ", tokenSecretKey="
				+ tokenSecretKey + "]";
	}	
	
	
}
